Starting with version v0.102.0, AI/LLM integration has been removed from the Trilium Notes core.
While a significant amount of effort went into developing this feature, maintaining and supporting it long-term proved to be unsustainable.
When upgrading to v0.102.0, your Chat notes will be preserved, but instead of the dedicated chat window they will be turned to a normal Code note, revealing the underlying JSON of the conversation.
Given the recent advancements of the AI scene, we decided to give the LLM integration another try. v0.103.0 introduces a completely new chat system.
One of the key changes that lead to the reimplementation is that now we are using a library (Vercel AI) to manage the inner mechanism and the differences between LLM providers instead of having to implement it on our own.
Currently, only three cloud providers are supported:
For all the providers, an API key is needed. Note that this is charged separately from the subscription you might already have (e.g. Claude Pro). If that might be a problem, consider using the MCP server and connecting it to your agent (e.g. Claude Code).
You might have noticed that there are no self-hosted solutions supported by the AI integration. The reasoning is that currently the self-hosted alternatives require additional integrations (for example a web search tool) or provide low-quality results (e.g. hallucinating tool calls) that would otherwise degrade the experience of the chat.
Because it is an experimental feature, enabling the AI integration is a two-step process:
There are two different chat interfaces:
Once the AI integration is activated, a Chat entry will appear in the Right Sidebar.
The dedicated chat note is similar to the sidebar interface, but it makes longer conversations more comfortable to read.
Unlike the sidebar, the AI will not be aware of the current note it's in.
The AI can optionally search the web to find more information about a specific topic.
This feature is on by default but it can easily be disabled by clicking on the model selector at the bottom of the chat and unchecking Web search.
Tools allow the agentic AI to understand and operate on notes directly within your Trilium instance.
This feature is on by default but it can easily be disabled by clicking on the model selector at the bottom of the chat and unchecking Note access.
The following are alternatives to Trilium's built-in MCP feature. Since Trilium's AI implementation is still experimental, its tooling might not be as mature as external tools.